from curl_cffi import requests
import re

url = 'https://tieba.baidu.com/t/f/?class=college'

response = requests.get(url,impersonate=requests.BrowserType.chrome100)
items = re.findall(r'<a class="each_topic_entrance_item" href="(.*?)" data-fid="(.*?)"> (.*?)</a>',response.text)
for item in items:
    print(item)